using System.Collections;

namespace SQLServices.Repository
{
	public interface ISQLConnection
	{
		bool LoginSecure { get; }
		string ServerName { get; }
		string UserId { get; }
		string Password { get; }
		int VersionMajor { get; }

		void OpenConnection(string serverName, string userId, string password, bool trusted);
		ISQLDatabase GetDatabase(string databaseName);
		ISQLDatabase GetDatabase();
		void Reset();
		void Disconnect();
		ArrayList ListOfDatabases();
	}
}